"leafo/lessphp": "0.5.0",
"liuggio/statsd-php-client": "1.0.16",
"mediawiki/at-ease": "1.0.0",
- "oojs/oojs-ui": "0.12.3",
+ "oojs/oojs-ui": "0.12.4",
"php": ">=5.3.3",
"psr/log": "1.0.0",
"wikimedia/cdb": "1.0.1",
{
"@metadata": {
"authors": [
- "Sovichet"
+ "Sovichet",
+ "គីមស៊្រុន"
]
},
- "ooui-outline-control-move-down": "រុញទៅក្រោម",
- "ooui-outline-control-move-up": "រុញទៅលើ",
- "ooui-outline-control-remove": "ដកវត្ថុចេញ",
- "ooui-toolbar-more": "បន្ថែម"
+ "ooui-outline-control-move-down": "រុញធាតុទៅក្រោម",
+ "ooui-outline-control-move-up": "រុញធាតុទៅលើ",
+ "ooui-outline-control-remove": "ដកធាតុចេញ",
+ "ooui-toolbar-more": "បន្ថែមទៀត",
+ "ooui-toolgroup-expand": "មើលច្រើន",
+ "ooui-toolgroup-collapse": "មើលតិច",
+ "ooui-dialog-message-accept": "យល់ព្រម",
+ "ooui-dialog-message-reject": "បោះបង់",
+ "ooui-dialog-process-error": "មានបញ្ហាអ្វីមួយ",
+ "ooui-dialog-process-dismiss": "បិទ",
+ "ooui-dialog-process-retry": "ព្យាយាមម្ដងទៀត",
+ "ooui-dialog-process-continue": "បន្ត"
}
/*!
- * OOjs UI v0.12.3
+ * OOjs UI v0.12.4
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2015 OOjs UI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2015-08-11T22:34:09Z
+ * Date: 2015-08-13T21:01:12Z
*/
@-webkit-keyframes oo-ui-progressBarWidget-slide {
from {
.oo-ui-capsuleMultiSelectWidget-handle {
background: #ffffff;
cursor: text;
- min-height: 2.35em;
+ min-height: 2.4em;
margin-right: 0.5em;
padding: 0.25em 0;
border: 1px solid rgba(0, 0, 0, 0.1);
-moz-box-sizing: border-box;
box-sizing: border-box;
vertical-align: middle;
- padding: 0.2em;
+ padding: 0 0.4em;
margin: 0 0.1em;
- height: 1.675em;
+ height: 1.7em;
+ line-height: 1.7em;
background: #eeeeee;
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#ffffff', endColorstr='#dddddd');
background-image: -webkit-gradient(linear, right top, right bottom, color-stop(0%, #ffffff), color-stop(100%, #dddddd));
background-image: linear-gradient(to bottom, #ffffff 0%, #dddddd 100%);
border: 1px solid #cccccc;
color: #555555;
- border-radius: 0.5em;
+ border-radius: 0.25em;
}
.oo-ui-capsuleItemWidget > .oo-ui-iconElement-icon {
cursor: pointer;
}
.oo-ui-capsuleItemWidget.oo-ui-indicatorElement > .oo-ui-indicatorElement-indicator {
position: absolute;
- right: 0.2em;
+ right: 0.4em;
top: 0;
width: 0.9375em;
height: 100%;
background-repeat: no-repeat;
}
+.oo-ui-capsuleItemWidget.oo-ui-indicatorElement > .oo-ui-indicator-clear {
+ cursor: pointer;
+}
.oo-ui-capsuleItemWidget.oo-ui-widget-disabled {
opacity: 0.5;
-webkit-transform: translate3d(0, 0, 0);
/*!
- * OOjs UI v0.12.3
+ * OOjs UI v0.12.4
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2015 OOjs UI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2015-08-11T22:34:00Z
+ * Date: 2015-08-13T21:01:04Z
*/
/**
* @class
/*!
- * OOjs UI v0.12.3
+ * OOjs UI v0.12.4
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2015 OOjs UI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2015-08-11T22:34:09Z
+ * Date: 2015-08-13T21:01:12Z
*/
@-webkit-keyframes oo-ui-progressBarWidget-slide {
from {
.oo-ui-capsuleMultiSelectWidget-handle {
background: #ffffff;
cursor: text;
- min-height: 2.35em;
+ min-height: 2.4em;
margin-right: 0.5em;
padding: 0.25em 0;
border: 1px solid #cccccc;
-moz-box-sizing: border-box;
box-sizing: border-box;
vertical-align: middle;
- padding: 0.2em;
+ padding: 0 0.4em;
margin: 0 0.1em;
- height: 1.675em;
- background-color: #ffffff;
+ height: 1.7em;
+ line-height: 1.7em;
+ background-color: #eeeeee;
border: 1px solid #cccccc;
color: #555555;
- border-radius: 0.2em;
+ border-radius: 0.1em;
}
.oo-ui-capsuleItemWidget > .oo-ui-iconElement-icon {
cursor: pointer;
}
.oo-ui-capsuleItemWidget.oo-ui-indicatorElement > .oo-ui-indicatorElement-indicator {
position: absolute;
- right: 0.2em;
+ right: 0.4em;
top: 0;
width: 0.9375em;
height: 100%;
/*!
- * OOjs UI v0.12.3
+ * OOjs UI v0.12.4
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2015 OOjs UI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2015-08-11T22:34:00Z
+ * Date: 2015-08-13T21:01:04Z
*/
/**
* @class
/*!
- * OOjs UI v0.12.3
+ * OOjs UI v0.12.4
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2015 OOjs UI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2015-08-11T22:34:00Z
+ * Date: 2015-08-13T21:01:04Z
*/
( function ( OO ) {
$tabFocus.on( {
focus: this.onFocusForPopup.bind( this )
} );
+ this.popup.$element.on( 'focusout', this.onPopupFocusOut.bind( this ) );
+ if ( this.popup.$autoCloseIgnore ) {
+ this.popup.$autoCloseIgnore.on( 'focusout', this.onPopupFocusOut.bind( this ) );
+ }
this.popup.connect( this, {
toggle: function ( visible ) {
$tabFocus.toggle( !visible );
}
};
+/**
+ * Handles popup focus out events.
+ *
+ * @private
+ * @param {Event} e Focus out event
+ */
+OO.ui.CapsuleMultiSelectWidget.prototype.onPopupFocusOut = function () {
+ var widget = this.popup;
+
+ setTimeout( function () {
+ if (
+ widget.isVisible() &&
+ !OO.ui.contains( widget.$element[0], document.activeElement, true ) &&
+ ( !widget.$autoCloseIgnore || !widget.$autoCloseIgnore.has( document.activeElement ).length )
+ ) {
+ widget.toggle( false );
+ }
+ } );
+};
+
/**
* Handle mouse click events.
*
// Events
this.closeButton.connect( this, { click: 'onCloseButtonClick' } );
- this.$element.on( 'focusout', this.onFocusOut.bind( this ) );
- if ( this.$autoCloseIgnore ) {
- this.$autoCloseIgnore.on( 'focusout', this.onFocusOut.bind( this ) );
- }
// Initialization
this.toggleAnchor( config.anchor === undefined || config.anchor );
/* Methods */
-/**
- * Handles focus out events.
- *
- * @private
- * @param {Event} e Focus out event
- */
-OO.ui.PopupWidget.prototype.onFocusOut = function () {
- var widget = this;
-
- setTimeout( function () {
- if (
- widget.isVisible() &&
- !OO.ui.contains( widget.$element, document.activeElement, true ) &&
- ( !widget.$autoCloseIgnore || !widget.$autoCloseIgnore.has( document.activeElement ).length )
- ) {
- widget.toggle( false );
- }
- } );
-};
-
/**
* Handles mouse down events.
*
this.$input = config.$input ? config.$input : config.input ? config.input.$input : null;
this.$widget = config.widget ? config.widget.$element : null;
this.onDocumentMouseDownHandler = this.onDocumentMouseDown.bind( this );
- this.onInputKeyPressHandler = OO.ui.debounce( this.updateItemVisibility.bind( this ), 100 );
+ this.onInputEditHandler = OO.ui.debounce( this.updateItemVisibility.bind( this ), 100 );
// Initialization
this.$element
};
/**
- * Update menu item visibility after input key press
+ * Update menu item visibility after input changes.
* @protected
*/
OO.ui.MenuSelectWidget.prototype.updateItemVisibility = function () {
OO.ui.MenuSelectWidget.prototype.bindKeyPressListener = function () {
if ( this.$input ) {
if ( this.filterFromInput ) {
- this.$input.on( 'keypress', this.onInputKeyPressHandler );
+ this.$input.on( 'keydown mouseup cut paste change input select', this.onInputEditHandler );
}
} else {
OO.ui.MenuSelectWidget.parent.prototype.bindKeyPressListener.call( this );
OO.ui.MenuSelectWidget.prototype.unbindKeyPressListener = function () {
if ( this.$input ) {
if ( this.filterFromInput ) {
- this.$input.off( 'keypress', this.onInputKeyPressHandler );
+ this.$input.off( 'keydown mouseup cut paste change input select', this.onInputEditHandler );
this.updateItemVisibility();
}
} else {